the formation ended with a brief lecture concerning the anti-fraternization regulations , with a reminder that it was a court-martial offense to become friendly with the german population , especially the female part .