This photo is taken by the legendary SMGLEE. It is of a motorcycle unit for Brea Police Department in Southern California. The motorcycle has an H&K G36K mounted to the rear of the BMW police motorcycle. Does it still count as a trunk gun if it is outside the trunk?
Here is a better picture of the motorcycle and the G36K
From this angle, you can see the weapon mount is locked by a key.