Police can search your bags because of the serious crimes that can occur if people bring weapons onto planes or into courthouses. Airport and courthouse searches are allowed because terrorists have threatened to hijack airplanes and shoot government officials. The Supreme Court has not yet ruled on subway searches.